/*
*

	package: rewords-api-server
	filename: model
	author: diogo@gmail.com
	time: 2023/3/15 11:11

*
*/
package model

import "rewords-server-2024/internal/model/entity"

// TreeMenu 菜单树
type TreeMenu struct {
	entity.AdminMenu
	Children []*TreeMenu `json:"children"`
}

// LabelTreeMenu 菜单kv树
type LabelTreeMenu struct {
	entity.AdminMenu
	Key      int64            `json:"key"       description:"键名"`
	Label    string           `json:"label"       description:"键标签"`
	Children []*LabelTreeMenu `json:"children"`
}
